package com.ddm.entity.vxEntity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value="WrongQuestion对象", description="")
public class WrongQuestion implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "错题表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Version
    private Integer version;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "错题ID")
    private Long questionId;

}
